﻿using System;

namespace diantou.web.enterprise
{
    /// <summary>
    /// 参加考试的人员
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class examineeList : examView<examineeList>
    {
        /// <summary>
        /// 参加考试的人员
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.examDataAccess.examUser[] users;
        /// <summary>
        /// 是否考试人员列表页面
        /// </summary>
        protected override bool isUserPage
        {
            get { return true; }
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="examId"></param>
        /// <returns></returns>
        private bool loadView(int examId, int page)
        {
            if (load(examId))
            {
                users = diantou.examDataAccess.tcpCall.examUser.get(examId, currentUserId, pageInfo.Size = 40, pageInfo.Page = page, out pageInfo.Count);
                return true;
            }
            return false;
        }
    }
}
